package com.bw.zg3

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.bw.base.mvvm.BaseViewActivity
import com.bw.zg3.databinding.ActivityMainBinding
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
@Route(path = "/app/MainActivity")
class MainActivity : BaseViewActivity<ActivityMainBinding>(){



    override fun initView() {
        val navHostFragment = supportFragmentManager.findFragmentById(R.id.vp) as NavHostFragment
        val navController = navHostFragment.navController
        binding.tab.setupWithNavController(navController)
    }

    override fun intiData() {

    }
}